package hhpoll.service;

import hhpoll.domain.User;
import hhpoll.domain.UserRegistration;
import hhpoll.service.context.RequestContext;

public interface UserService {
	
	public User registerUser(User user) throws ServiceException;
	public User activateUser (UserRegistration userRegistration) throws ServiceException;
	public User getUser(RequestContext context, String username) throws ServiceException;
	public User authenticate(String username, String password) throws ServiceException;

}
